//
//  YWMaterialStockOut.h
//  maintain
//
//  Created by 烟雨云渊 on 16/9/3.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YWMaterialStatus.h"

@class YWHandler;
@class YWMaterialApply;
@class YWMaterialApplyViewModel;
@interface YWMaterialStockOut : NSObject
/********  物料领用表  *******/
/* 物料单据关联ID */
@property (nonatomic, assign) NSInteger materialRelationId;
/* 领用单Id */
@property (nonatomic, assign) NSInteger stockOutId;
/* 楼盘ID */
@property (nonatomic, copy) NSString * buildingId;
/* 领用单号 */
@property (nonatomic, copy) NSString * stockOutSequence;
/* 发放人 （仓管）*/
@property (nonatomic, strong) YWHandler * creator;
/* 接收人 （领用人）*/
@property (nonatomic, strong) YWHandler * receiver;
/* 抄送人数组 */
@property (nonatomic, strong) NSArray * observers;
/* 抄送人id数组 （逗号隔开）*/
@property (nonatomic, copy) NSString * carbonCopyIds;
/* 备注 */
@property (nonatomic, copy) NSString * note;
/* 物料清单 */
@property (nonatomic, strong) NSArray * details;
/* 出库时间 */
@property (nonatomic, assign) NSTimeInterval stockOutTime;
/* 出库状态 */
@property (nonatomic, assign) YWMaterialStatu stockOutStatus;
/* 回复列表 */
@property (nonatomic, strong) NSArray * replies;
/* 关联单号 */
@property (nonatomic, strong) NSString * linkSequence;
/* 创建时间 */
@property (nonatomic, assign) NSTimeInterval createTime;
/* 更新时间 */
@property (nonatomic, assign) NSTimeInterval updateTime;
/* 年月日（2016年10月13日），用于界面分组 */
@property (nonatomic, copy) NSString * yearMonthDay;
/* 申请单对象(解析时用) */
@property (nonatomic, strong) YWMaterialApply * materialApply;
/* 申请单对象（取值时用） */
@property (nonatomic, strong) YWMaterialApplyViewModel * apply;
/* 数据状态 */
@property (nonatomic, assign) YWMaterialDataStatus status;
@end



